import serial

ser = serial.Serial("COM20")
ser.write("100,200,100\n".encode())

while True:
    c = input("please input left and right speed")
    print(c)
    if c == "q":
        break
    ser.write(c.encode())
